/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package objetosNegocio;

import enums.EnumLanguage;
import enums.EnumTypeMovie;
import java.util.List;

/**
 *
 * @author QUINTERO
 */
public class Schedule {
    
    private int id;
    private Movie movie;
    private String type;
    private List<String> schedules;
    private String language;
    private int room;

    public Schedule() {
    }

    public Schedule(int id) {
        this.id = id;
    }

    public Schedule(int id, Movie movie, String type, List<String> schedules, String language, int room) {
        this.id = id;
        this.movie = movie;
        this.type = type;
        this.schedules = schedules;
        this.language = language;
        this.room = room;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public Movie getMovie() {
        return movie;
    }

    public void setMovie(Movie movie) {
        this.movie = movie;
    }

    public int getRoom() {
        return room;
    }

    public void setRoom(int room) {
        this.room = room;
    }

    public List<String> getSchedules() {
        return schedules;
    }

    public void setSchedules(List<String> schedules) {
        this.schedules = schedules;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Schedule other = (Schedule) obj;
        if (this.id != other.id) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 53 * hash + this.id;
        return hash;
    }

    @Override
    public String toString() {
        return "Schedule{" + "id=" + id + ", movie=" + movie + ", type=" + type + ", schedules=" + schedules + ", language=" + language + ", room=" + room + '}';
    }
    
    
    
}
